/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sevenpriciples.dip.dip.compliance.impl;

import za.ac.cput.sevenpriciples.dip.dip.compliance.FinalMark;
import za.ac.cput.sevenpriciples.dip.dip.compliance.Student;

/**
 *
 * @author 210227257
 */
public class GenerateImpl{
    public String displayReport(Student student, FinalMark marks){
        return String.format("Full Name: %s %s\nStudent Number: %d\nAverage Final Mark: %.2f", student.getStudentName(), student.getStudentSurname(), student.getStudentNumber(), marks.getFinalMark());
    }
}
